﻿using MGFramework;
using UnityEngine;

public class StartPanel :  PanelBase{

    protected override void InitPanel() {
        BindButton(transform, "btn_prev", () =>
        {
            Debug.Log("上一页");
            OpenClick();
        });
        BindButton(transform, "btn_next", () =>
        {
            Debug.Log("下一页");
            UICenter.instance.OpenPanel("GamePanel",UIAnimType.MINTOMAX);
        });

    }

    public override void CallPanelMethod(int method, params object[] data) {

    }
}
